{% extends 'Symfony2uAdminBundle::base.html.twig' %}

{% block leftcol %}Lijeva kolona{% endblock %}
{% block contentcol %}
    <div class="box">
        <h2>
            Forms
        </h2>
        <div class="block">
            <form action="#" method="post" {{ form_enctype(form) }}>
                <fieldset>
                    <legend>Add new item type</legend>
                    {{ form_errors(form) }}
                    <p>
                {{ form_label(form.name, 'Item type name:') }}
                {{ form_errors(form.name) }}
                {{ form_widget(form.name) }}
                     </p>
                     <input type="submit" value="Save item type"/>
                     {{ form_rest(form) }}
                    </fieldset>
                </form>
            </div>
        </div>

    <div class="box">
        <h2>
            Item types
        </h2>
        <div class="block">

            </div>
        </div>
    
{% endblock %}